        <div class="box-title">
            <span>Một số loại thuốc</span>
        </div>
        <?php $i = 1; ?>
        <?php foreach ($model as $typeDrug):?>
        <div class="box-products">
            <div class="product-list">
                <img src="data/images/type<?php echo $i++; ?>.jpg" width="120px" height="120px" />
                <p class="product-name"><a href="index.php?r=drug/indexByTypes&id_type=<?php echo $typeDrug->id_type; ?>"><?php echo $typeDrug->name; ?></a></p>
                <p>Chi tiết: <?php echo $typeDrug->detail; ?></p>
                <div class="clear"></div>
            </div>
        </div>
        <?php endforeach; ?>